package org.rainbowinverted.charging.device.connect.ykc.server.message.in;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 设备状态报告dto
 *
 * @author huaiping
 */
@Data
@AllArgsConstructor(staticName = "of")
public class YkcDeviceStatusReportIn implements Serializable {
    /**
     * 设备编号
     */
    private Long deviceNo;
    /**
     * 枪信息
     */
    private YkcDeviceGunInfoIn gunInfo;
    /**
     * 充电信息
     */
    private YkcDeviceGunChargeInfoIn gunChargeInfo;
    /**
     * 电压(V)
     */
    private Integer voltage;
    /**
     * cp电压
     */
    private Integer cpVoltage;
    /**
     * 泄漏电流
     */
    private Integer leakCurrent;
    /**
     * 紧急按钮状态
     */
    private Boolean emergenceStatus;
    /**
     * 报告时间
     */
    private LocalDateTime reportTime;
}
